package com.ruoyix.novel.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.ruoyix.common.core.domain.BaseEntity;

/**
 * 单个章节内容对象 novel_chapter_content
 *
 * @author ruoyi
 * @date 2025-06-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("novel_chapter_content")
public class NovelChapterContent extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 关联的章节大纲ID
     */
    private Long outlineId;
    /**
     * 章节号
     */
    private String chapterNumber;
    /**
     * 章节标题
     */
    private String title;
    /**
     * 章节正文内容
     */
    private String content;
    /**
     * 是否由AI生成
     */
    private Integer aiGenerated;
    /**
     * AI模型名称或其他来源标识
     */
    private String generatedBy;
    /**
     * 版本号，用于修订
     */
    @Version
    private Long version;
    /**
     * 备注
     */
    private String remark;

}
